package com.ququ.syb.entrance.fegin;

import com.ququ.common.result.Result;
import com.ququ.syb.common.pojo.TransferOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "transfer-business")
public interface TransferBusinessFegin {

    @RequestMapping(value = "/transfer")
    Result<TransferOrder> transferBusiness(@RequestParam(value = "outorderno") String outorderno,
                                           @RequestParam(value = "fromaccount") String fromaccount,
                                           @RequestParam(value = "frompaychannelid") String frompaychannelid,
                                           @RequestParam(value = "toaccount") String toaccount,
                                           @RequestParam(value = "topaychannelid") String topaychannelid,
                                           @RequestParam(value = "amount") Long amount,
                                           @RequestParam(value = "type") Integer type,
                                           @RequestParam(value = "appcode") String appcode);

}
